<?php
namespace Home\Model;
use Think\Model;
class NewsModel extends Model {

	protected $_validate = array(
		// array ('content',		'require',	'必需先填写content' ),
		// array ('sn',		'',			'货号已存在',		0,	'unique',	3 ),
	);

	protected $_auto = array(
		array('posttime', 'time', 3, 'function'),
	);
}